home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 4555 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: nov-mirsev.cicese.mx!usenet
  2. From: Serguei Miridonov <mirsev@cicese.mx>
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: Unix C Library For Modem Control?
  5. Date: Thu, 08 Feb 1996 21:11:04 -0800
  6. Organization: CICESE, Ensenada B.C., Mexico
  7. Message-ID: <311AD768.27DD1532@cicese.mx>
  8. References: <3119B53F.41C6@dmc.missouri.edu>
  9. NNTP-Posting-Host: nov-mirsev.cicese.mx
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.3 i486)
  14.  
  15. Joe Goyette wrote:
  16. > I am looking for a unix c library that will allow me to communicate with
  17. > a modem painlessly (not termio,ioctl).  I will need to basically connect
  18. > to the modem, send the AT commands to dial out, and then do simple
  19. > terminal-type communications. (i.e. wait for a string, send a string).
  20.  
  21. I don't know about all unices but in Linux I have just tried something
  22. like 'fopen ("/dev/modem","w");' and then fprintf to send commands and
  23. it worked. Also, there is a library libmodem for Linux:
  24.  
  25. ftp://sunsite.unc.edu/pub/Linux/libs/
  26.  
  27. I never used it though. Try to download it even if you have another unix,
  28. may be it includes source or some pointer to the C code...
  29.  
  30. Serguei Miridonov.
  31.  
  32. -- 
  33.  
  34. CICESE, Optics Dept.           E-mail: mirsev@cicese.mx
  35. PO Box 43-4944                 
  36. San Diego, CA 92143-4944       FAX: +52 (617) 45155
  37.